package com.haierp.model;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotations.IdType;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;

/**
 * 微信用户设备登入记录
 * @author zhulu
 */
@TableName("device_mark")
public class Device implements Serializable{
	/** 主键id */
	@TableId(type = IdType.AUTO)
	private Long id;
	private String cookie;
	@TableField(value = "product_id")
	private String productId;
	@TableField(value = "product_version")
	private String productVersion;
	@TableField(value = "channel_id")
	private String channelId;
	private String refer;
	@TableField(value = "pixel_ratio")
	private String pixelRatio;
	@TableField(value = "window_width")
	private String windowWidth;
	@TableField(value = "window_height")
	private String windowHeight;
	private String language;
	private String version;
	private String system;
	private String platform;
	@TableField(value = "gmt_create")
	private Date gmtCreate;
	@TableField(value = "gmt_modify")
	private Date gmtModify;
	private String model;
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public String getCookie() {
		return cookie;
	}
	public void setCookie(String cookie) {
		this.cookie = cookie;
	}
	public String getProductId() {
		return productId;
	}
	public void setProductId(String productId) {
		this.productId = productId;
	}
	public String getProductVersion() {
		return productVersion;
	}
	public void setProductVersion(String productVersion) {
		this.productVersion = productVersion;
	}
	public String getChannelId() {
		return channelId;
	}
	public void setChannelId(String channelId) {
		this.channelId = channelId;
	}
	public String getRefer() {
		return refer;
	}
	public void setRefer(String refer) {
		this.refer = refer;
	}
	public String getPixelRatio() {
		return pixelRatio;
	}
	public void setPixelRatio(String pixelRatio) {
		this.pixelRatio = pixelRatio;
	}
	public String getWindowWidth() {
		return windowWidth;
	}
	public void setWindowWidth(String windowWidth) {
		this.windowWidth = windowWidth;
	}
	public String getWindowHeight() {
		return windowHeight;
	}
	public void setWindowHeight(String windowHeight) {
		this.windowHeight = windowHeight;
	}
	public String getLanguage() {
		return language;
	}
	public void setLanguage(String language) {
		this.language = language;
	}
	public String getVersion() {
		return version;
	}
	public void setVersion(String version) {
		this.version = version;
	}
	public String getPlatform() {
		return platform;
	}
	public void setPlatform(String platform) {
		this.platform = platform;
	}
	public Date getGmtCreate() {
		return gmtCreate;
	}
	public void setGmtCreate(Date gmtCreate) {
		this.gmtCreate = gmtCreate;
	}
	public Date getGmtModify() {
		return gmtModify;
	}
	public void setGmtModify(Date gmtModify) {
		this.gmtModify = gmtModify;
	}
	public String getModel() {
		return model;
	}
	public void setModel(String model) {
		this.model = model;
	}
	@Override
	public String toString() {
		return "Device [id=" + id + ", cookie=" + cookie + ", productId=" + productId + ", productVersion="
				+ productVersion + ", channelId=" + channelId + ", refer=" + refer + ", pixelRatio=" + pixelRatio
				+ ", windowWidth=" + windowWidth + ", windowHeight=" + windowHeight + ", language=" + language
				+ ", version=" + version + ", platform=" + platform + ", gmtCreate=" + gmtCreate + ", gmtModify="
				+ gmtModify + ", model=" + model + "]";
	}
	public String getSystem() {
		return system;
	}
	public void setSystem(String system) {
		this.system = system;
	}
	
	  
}
